package com.evan.designpatterns.prototype.simple;

/**
 * @author :liujiapeng01
 * @date :2019-03-14 12:58
 **/
public class Client {


    private Prototype prototype;


    public Client(Prototype prototype) {
        this.prototype = prototype;
    }


    public Prototype cloneNew() {
        return prototype.createClone();
    }
}
